┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/renamedialog.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-09-06 16:34:41 +0200
committerEmmanuel Pescosta <[email protected]>2015-09-07 22:58:38 +0200
commit4143a69c05be6da8a91c8ba0db505a47b22ddc75 (patch)
tree18a0e8832f5d6df40051d19c69797dc5ab779d5b /src/views/renamedialog.h
parent389c909affddb127b2e7af35422c21e55c0485b9 (diff)
Rename dialog: Set focus to input text box on dialog show event.
BUG: 351708 FIXED-IN: 15.08.1 REVIEW: 125078
Diffstat (limited to 'src/views/renamedialog.h')
-rw-r--r--src/views/renamedialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/views/renamedialog.h b/src/views/renamedialog.h
index a1953e8b3..3964c0a5c 100644
--- a/src/views/renamedialog.h
+++ b/src/views/renamedialog.h
@@ -45,6 +45,9 @@ private slots:
void slotAccepted();
void slotTextChanged(const QString& newName);
+protected:
+ void showEvent(QShowEvent* event) override;
+
private:
void renameItems();
void renameItem(const KFileItem &item, const QString& newName);