@@ -923,107 +923,95 @@ void dlgRoomExits::slot_nw_textEdited(const QString& text)
923923{
924924 normalExitEdited (text, nw, noroute_nw, stub_nw, weight_nw,
925925 doortype_none_nw, doortype_open_nw, doortype_closed_nw, doortype_locked_nw,
926- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room northwest of this one." )),
927- singleParagraph.arg (tr (" Set the number of the room northwest of this one." )));
926+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room northwest of this one." )));
928927 slot_checkModified ();
929928}
930929
931930void dlgRoomExits::slot_n_textEdited (const QString& text)
932931{
933932 normalExitEdited (text, n, noroute_n, stub_n, weight_n,
934933 doortype_none_n, doortype_open_n, doortype_closed_n, doortype_locked_n,
935- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room north of this one." )),
936- singleParagraph.arg (tr (" Set the number of the room north of this one." )));
934+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room north of this one." )));
937935 slot_checkModified ();
938936}
939937
940938void dlgRoomExits::slot_ne_textEdited (const QString& text)
941939{
942940 normalExitEdited (text, ne, noroute_ne, stub_ne, weight_ne,
943941 doortype_none_ne, doortype_open_ne, doortype_closed_ne, doortype_locked_ne,
944- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room northeast of this one." )),
945- singleParagraph.arg (tr (" Set the number of the room northeast of this one." )));
942+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room northeast of this one." )));
946943 slot_checkModified ();
947944}
948945
949946void dlgRoomExits::slot_up_textEdited (const QString& text)
950947{
951948 normalExitEdited (text, up, noroute_up, stub_up, weight_up,
952949 doortype_none_up, doortype_open_up, doortype_closed_up, doortype_locked_up,
953- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room up from this one." )),
954- singleParagraph.arg (tr (" Set the number of the room up from this one." )));
950+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room up from this one." )));
955951 slot_checkModified ();
956952}
957953
958954void dlgRoomExits::slot_w_textEdited (const QString& text)
959955{
960956 normalExitEdited (text, w, noroute_w, stub_w, weight_w,
961957 doortype_none_w, doortype_open_w, doortype_closed_w, doortype_locked_w,
962- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room west of this one." )),
963- singleParagraph.arg (tr (" Set the number of the room west of this one." )));
958+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room west of this one." )));
964959 slot_checkModified ();
965960}
966961
967962void dlgRoomExits::slot_e_textEdited (const QString& text)
968963{
969964 normalExitEdited (text, e, noroute_e, stub_e, weight_e,
970965 doortype_none_e, doortype_open_e, doortype_closed_e, doortype_locked_e,
971- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room east of this one." )),
972- singleParagraph.arg (tr (" Set the number of the room east of this one." )));
966+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room east of this one." )));
973967 slot_checkModified ();
974968}
975969
976970void dlgRoomExits::slot_down_textEdited (const QString& text)
977971{
978972 normalExitEdited (text, down, noroute_down, stub_down, weight_down,
979973 doortype_none_down, doortype_open_down, doortype_closed_down, doortype_locked_down,
980- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room down from this one." )),
981- singleParagraph.arg (tr (" Set the number of the room down from this one." )));
974+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room down from this one." )));
982975 slot_checkModified ();
983976}
984977
985978void dlgRoomExits::slot_sw_textEdited (const QString& text)
986979{
987980 normalExitEdited (text, sw, noroute_sw, stub_sw, weight_sw,
988981 doortype_none_sw, doortype_open_sw, doortype_closed_sw, doortype_locked_sw,
989- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room southwest of this one." )),
990- singleParagraph.arg (tr (" Set the number of the room southwest of this one." )));
982+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room southwest of this one." )));
991983 slot_checkModified ();
992984}
993985
994986void dlgRoomExits::slot_s_textEdited (const QString& text)
995987{
996988 normalExitEdited (text, s, noroute_s, stub_s, weight_s,
997989 doortype_none_s, doortype_open_s, doortype_closed_s, doortype_locked_s,
998- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room south of this one." )),
999- singleParagraph.arg (tr (" Set the number of the room south of this one." )));
990+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room south of this one." )));
1000991 slot_checkModified ();
1001992}
1002993
1003994void dlgRoomExits::slot_se_textEdited (const QString& text)
1004995{
1005996 normalExitEdited (text, se, noroute_se, stub_se, weight_se,
1006997 doortype_none_se, doortype_open_se, doortype_closed_se, doortype_locked_se,
1007- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room southeast of this one." )),
1008- singleParagraph.arg (tr (" Set the number of the room southeast of this one." )));
998+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room southeast of this one." )));
1009999 slot_checkModified ();
10101000}
10111001
10121002void dlgRoomExits::slot_in_textEdited (const QString& text)
10131003{
10141004 normalExitEdited (text, in, noroute_in, stub_in, weight_in,
10151005 doortype_none_in, doortype_open_in, doortype_closed_in, doortype_locked_in,
1016- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room in from this one." )),
1017- singleParagraph.arg (tr (" Set the number of the room in from this one." )));
1006+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room in from this one." )));
10181007 slot_checkModified ();
10191008}
10201009
10211010void dlgRoomExits::slot_out_textEdited (const QString& text)
10221011{
10231012 normalExitEdited (text, out, noroute_out, stub_out, weight_out,
10241013 doortype_none_out, doortype_open_out, doortype_closed_out, doortype_locked_out,
1025- doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room out from this one." )),
1026- singleParagraph.arg (tr (" Set the number of the room out from this one." )));
1014+ doubleParagraph.arg (tr (" Entered number is invalid." ), tr (" Set the number of the room out from this one." )));
10271015 slot_checkModified ();
10281016}
10291017
0 commit comments